std::unordered_multimap::bucket

From Cppreference

Jump to: navigation, search
​size_type bucket( const Key& key ) const;
(C++0x feature)

Returns the bucket index for the key key.

Contents

Parameters

key - the value of the key to examine

Return value

bucket index for the key key.

Complexity

constant

See also

bucket_size
returns the number of elements in specific bucket
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages